package com.ciaojian.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 系统红包设置
 *
 * @author oxiny
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("d_redpack_setting")
public class RedpackSetting extends Model<RedpackSetting> {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("商户名称")
    private String sendName;

    @ApiModelProperty("付款金额")
    private Integer totalAmount;

    @ApiModelProperty("祝福语")
    private String wishing;

    @ApiModelProperty("活动名称")
    private String actName;

    @ApiModelProperty("备注信息")
    private String remark;

    @ApiModelProperty("场景")
    private String sceneId;

    @ApiModelProperty("是否上架")
    private Boolean isClose;
}
